POV-Ray : Newsgroups : povray.binaries.scene-files : Filters : Re: Filters Server Time
2 Sep 2024 04:18:43 EDT (-0400)
  Re: Filters  
From: Gena Obukhov
Date: 20 Oct 2002 16:05:51
Message: <3DB30B73.A2160CF5@mail.com>
I've never done animation with POV-Ray. Anyway, you
can try the following approach. Just make the image with
indexed colors (see PNG example in attachment) and make
a loop through all colors (0 - 255) in your pigment block:

#declare tahoe = pigment {
 image_map{
  png "tahoe.png"
  map_type 0
  interpolate 0
  transmit 40, 1 // make loop here. Right now it will make color number 40 as
transparent
  once
 }
 scale <4/3, 1, 1>
}

Hope this helps.
Gena.



Dennis Miller wrote:

> Thanks so much for this excellent work. The new filters are really
> surprising, especially the Paris Art Museum!
> I would like to try and animate this one and have the black squares appear
> at random places throughout the canvas. Any ideas on how to accomplish that?
> Thanks very much for your work.
> Dennis
> "Gena Obukhov" <obu### [at] mailcom> wrote in message
> news:3DB2318C.3A5BF9A8@mail.com...
> > The final version of POV-Ray filters:
> >
> > filters.inc - include file
> > artists.pov - for testing filters
> > birds.png - Escher pattern
> > tahoe.jpg - testing image
> >
> > Gena.
> >
> >
> >


Post a reply to this message


Attachments:
Download 'tahoe.png' (154 KB)

Preview of image 'tahoe.png'
tahoe.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.